package com.ea.admin.pojo.param.superAdmin.company;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SuperAddCompanyParam {
    @ApiModelProperty(value = "上级单位的id")
    private String supCompanyId;

    @ApiModelProperty(value = "单位名称", required = true)
    @NotBlank(message = "单位名称不能为空")
    @Size(max = 50, message = "单位名称不能超过50个字符")
    private String companyName;

    @ApiModelProperty(value = "单位联系人的AccountId")
    private String companyContactAccountId;

    @ApiModelProperty(value = "单位联系人名称")
    @Size(max = 20, message = "单位联系人名称不能超过20个字符")
    private String companyContactName;

    @ApiModelProperty(value = "单位联系人手机号码")
    @Size(max = 11, message = "单位联系人手机号码不能超过11个字符")
    private String companyContactPhoneNum;

    @ApiModelProperty(value = "单位联系人用户名")
    @Size(max = 20, message = "单位联系人用户名不能超过20个字符")
    private String companyContactUsername;

    @ApiModelProperty(value = "单位联系人密码")
    private String companyContactPassword;

    @ApiModelProperty(value = "单位联系人确认密码")
    private String companyContactRePassword;
}
